//
//  HOEditTableViewCell.h
//  WeiDu_1_0
//
//  Created by foguo-mac-1 on 1/13/16.
//  Copyright © 2016 ShenOu. All rights reserved.
//

#import "HOTableViewCell.h"
#import "HOTextField.h"
#import "RatingBar.h"

extern CGFloat kImgInCellWidth;
extern CGFloat kImgInCellHeight;
@protocol HOEditTableViewCellDelegate <NSObject>
- (void)textFieldDidChange:(NSNotification *)notification;

@end
@interface HOEditTableViewCell : HOTableViewCell
{
	
	
}
@property(nonatomic, assign)id<HOEditTableViewCellDelegate> delegate;
@property(nonatomic, assign)BOOL isTranslaterDetail;
- (void)initViewsWithHeight:(CGFloat)height withWidth:(CGFloat)width withDelegate:(id<HOEditTableViewCellDelegate>)delegate;
- (void)createCountLbl;
- (void)setCount:(NSInteger)count;
- (void)showCountLbl:(BOOL)show;
- (void)setTextEditing:(BOOL)editing;
- (void)setNeedNext:(BOOL)needNext;
- (void)setDetailContent:(NSString *)content;
- (void)setFocusable;
- (void)lostFocusable;

- (UIImageView *)getDetailImgView;
- (void)setDetailImage:(UIImage *)image;
- (CGFloat)getContentHeight;
- (CGFloat)getContentHeightWith40Height;
- (void)setPlaceHolder:(NSString *)placeholder;
- (void)setReturnType:(UIReturnKeyType)type;
- (void)setIndexPath:(NSIndexPath *)indexPath;
- (HOTextField *)getTextField;
- (UILabel *)getDetailLbl;
- (void)createRatingView;
- (RatingBar *)getRatingView;
- (UILabel *)getContentLbl;
- (void)setTextAlignment:(NSTextAlignment)textAlignment;

- (UIImageView *)getIconView;
- (void)setDetailContentNoNewLine:(NSString *)content;

- (void)hiddenIcon;

@end
